package com.roncoo.student.stu.service.impl;

import com.roncoo.student.stu.entity.Lecturer;
import com.roncoo.student.stu.dao.LecturerMapper;
import com.roncoo.student.stu.service.ILecturerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jl
 * @since 2021-03-24
 */
@Service
public class LecturerServiceImpl extends ServiceImpl<LecturerMapper, Lecturer> implements ILecturerService {
    @Resource
    private LecturerMapper lecturerMapper;

    @Override
    public Lecturer findById(Integer lecturerId) {
        return lecturerMapper.findById(lecturerId);
    }
}
